package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.nr.order.cancel response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallNrOrderCancelResponse extends TaobaoResponse {

	private static final long serialVersionUID = 3754444244216171347L;

	/** 
	 * result
	 */
	@ApiField("result")
	private NrResult result;


	public void setResult(NrResult result) {
		this.result = result;
	}
	public NrResult getResult( ) {
		return this.result;
	}
	
	/**
 * resultData
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrCloseOrderRespDto extends TaobaoObject {

	private static final long serialVersionUID = 2651958939219821686L;

	/**
		 * 线下门店订单号，即入参的线下门店交易单号
		 */
		@ApiField("store_order_id")
		private String storeOrderId;
		/**
		 * 淘系交易订单号
		 */
		@ApiField("tid")
		private String tid;
	

	public String getStoreOrderId() {
			return this.storeOrderId;
		}
		public void setStoreOrderId(String storeOrderId) {
			this.storeOrderId = storeOrderId;
		}
		public String getTid() {
			return this.tid;
		}
		public void setTid(String tid) {
			this.tid = tid;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrResult extends TaobaoObject {

	private static final long serialVersionUID = 3734987357168746318L;

	/**
		 * errorCode
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * errorMessage
		 */
		@ApiField("error_message")
		private String errorMessage;
		/**
		 * resultData
		 */
		@ApiField("result_data")
		private NrCloseOrderRespDto resultData;
		/**
		 * success
		 */
		@ApiField("success")
		private Boolean success;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMessage() {
			return this.errorMessage;
		}
		public void setErrorMessage(String errorMessage) {
			this.errorMessage = errorMessage;
		}
		public NrCloseOrderRespDto getResultData() {
			return this.resultData;
		}
		public void setResultData(NrCloseOrderRespDto resultData) {
			this.resultData = resultData;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
